export default {
  state: {
    staffStateArr: [], // 员工状态
    management: [], // 人事管理模块
    YeepayBank: [], // 银行列表
    CompanyList: [], //公司列表
  },
  actions: {
    setStaffStateArr ({ commit }, staffStateArr) {
      commit('SET_staffStateArr', staffStateArr);
    },
    setManagement ({ commit }, management) {
      commit('SET_management', management);
    },
    setYeepayBank ({ commit }, YeepayBank) {
      commit('SET_YEEPAYBANK', YeepayBank);
    },
    setCompanyList ({ commit }, CompanyList) {
      commit('SET_COMPANYLIST', CompanyList);
    },
  },
  mutations: {
    SET_staffStateArr: (state, action) => {
      state.staffStateArr = action;
    },
    SET_management: (state, action) => {
      state.management = action;
    },
    SET_YEEPAYBANK: (state, action) => {
      state.YeepayBank = action;
    },
    SET_COMPANYLIST: (state, action) => {
      state.CompanyList = action;
    },
    
  }
};
  